package com.zhentao.service;

import com.zhentao.model.announcement.dto.AnnouncementDto;
import com.zhentao.model.announcement.pojo.AdAnnouncement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.dtos.ResponseResult;

/**
* @author 许文倩
* @description 针对表【ad_announcement】的数据库操作Service
* @createDate 2024-07-05 08:47:55
*/
public interface AdAnnouncementService extends IService<AdAnnouncement> {

    ResponseResult getList(AnnouncementDto dto);

    ResponseResult appList();

    ResponseResult addAnnouncement(AdAnnouncement announcement);

    ResponseResult updateAnnouncement(AdAnnouncement announcement);

    ResponseResult putway(int id);
}
